import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.firefox.FirefoxDriver;

public class justATest3 {
	// Declare the objects and variables to use
	FirefoxDriver driver;
	String baseUrl;
	
	@Before
	public void setUp() throws Exception {
	
		// Main @Before code
		System.out.println("Hello this is @Before every @Test");
		driver = new FirefoxDriver(); // creating an object instance
		baseUrl = "http://www.youtube.com/";
		
		String s1;
		String s2;
		s1 = "Hello";
		s2 = "Team";
		
		System.out.println(s1);
		System.out.println(s2);
		System.out.println(s1 + s2);
	}
	
	@Test
	public void test1() throws Exception {
		driver.get(baseUrl); // Sel WD method that navigates the browser to the url
	}
	
	@After
	public void tearDown() throws Exception {
		System.out.println("Hello this is @After every @Test");
		driver.quit();
	}

}
